package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 促销模版Entity
 * @author king
 * @version 2015-11-12
 */
public class Promotion extends DataEntity<Promotion> {

	private static final long serialVersionUID = 1L;
	
	private String name;// 名称
	private Integer templateId;// 促销模版
	private String argValue;// 参数值
	private Integer centerId;// 早教中心编号
	
	private Promotemplate template; //促销模版
	
	private Center center;//早教中心
	
	/**促销价格**/
	private double preMoney; //促销前价格
	private double money; // 促销价格
	private String promotionName; //促销名称
	
	public Promotion(){
		super();
	}
	
	public Promotion(String id){
		super(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}
	
	public String getArgValue() {
		return argValue;
	}

	public void setArgValue(String argValue) {
		this.argValue = argValue;
	}
	
	public Integer getCenterId() {
		return centerId;
	}

	public void setCenterId(Integer centerId) {
		this.centerId = centerId;
	}

	public Promotemplate getTemplate() {
		return template;
	}

	public void setTemplate(Promotemplate template) {
		this.template = template;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getPromotionName() {
		return promotionName;
	}

	public void setPromotionName(String promotionName) {
		this.promotionName = promotionName;
	}

	public double getPreMoney() {
		return preMoney;
	}

	public void setPreMoney(double preMoney) {
		this.preMoney = preMoney;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}
}